Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / Application-Defined Functions
/


MyStandardError

Directs error output. This is how you would define your error function if you were to name it MyStandardError:

void MyStandardError (
                     JMSessionRef session,
                     const char* message, 
                     UInt32 messageLen);
session
The session sending the error text.
message
The error message to display.
messageLen
The length of the text.
DISCUSSION
When invoking the Java runtime environment using JMOpenSession, you must designate a callback function to direct any error output received from the session.The MyStandardError function has the same form as the MyStandardOutput callback function.

SEE ALSO
The MyStandardOutput function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997